#include "NPPPythonObj.h"
#include "NPPPySide.h"

NPPPythonObj::NPPPythonObj()
{

}

void NPPPythonObj::mountWidget(QWidget *widget)
{
    NPPPySide::instance()->MountWidget(widget);
}

void NPPPythonObj::openFile(const QString &fileName)
{
    std::wstring wstr = fileName.toStdWString();
    const wchar_t *wstrptr = wstr.data();
    NPPPySide::instance()->SendMessageToNPP(NPPM_DOOPEN, 0, (LPARAM)wstrptr);
}

void NPPPythonObj::addToolBarIcon(int cmdId, const QString &iconFile, const QString &fileName)
{

}



